//
//  SecondTableViewCell.m
//  BuffetNews
//
//  Created by 李荃荃 on 14-11-4.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SecondTableViewCell.h"

@implementation SecondTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.autoScrollView = [[AutoScrollView alloc] init];
        [self.contentView addSubview:self.autoScrollView];
        [_autoScrollView release];
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.autoScrollView.frame = self.contentView.frame;
}
- (void)dealloc
{
    [_autoScrollView release];
    [super dealloc];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
